package com.manager.model;

import com.manager.common.utils.DateTools;

public class DockerContainerStats {

    private String containerId;

    private String containerName;

    private String useCpuPercent;

    private String useMemory;

    private String limitMemory;

    private String useMemoryPercent;

    private String useNetworkIn;

    private String useNetworkOut;

    private String blockIn;

    private String blockOut;

    private String pid;

    private String showTime = DateTools.getCurrentDateString("yyyy-MM-dd HH:mm:ss.SSS");

    public DockerContainerStats(){

    }

    public DockerContainerStats(String containerId,String containerName, String useCpuPercent, String useMemory, String limitMemory, String useMemoryPercent, String useNetworkIn, String useNetworkOut, String blockIn, String blockOut, String pid) {
        this.containerId = containerId;
        this.containerName = containerName;
        this.useCpuPercent = useCpuPercent;
        this.useMemory = useMemory;
        this.limitMemory = limitMemory;
        this.useMemoryPercent = useMemoryPercent;
        this.useNetworkIn = useNetworkIn;
        this.useNetworkOut = useNetworkOut;
        this.blockIn = blockIn;
        this.blockOut = blockOut;
        this.pid = pid;
    }

    public String getContainerId() {
        return containerId;
    }

    public void setContainerId(String containerId) {
        this.containerId = containerId;
    }

    public String getUseCpuPercent() {
        return useCpuPercent;
    }

    public void setUseCpuPercent(String useCpuPercent) {
        this.useCpuPercent = useCpuPercent;
    }

    public String getUseMemory() {
        return useMemory;
    }

    public void setUseMemory(String useMemory) {
        this.useMemory = useMemory;
    }

    public String getLimitMemory() {
        return limitMemory;
    }

    public void setLimitMemory(String limitMemory) {
        this.limitMemory = limitMemory;
    }

    public String getUseMemoryPercent() {
        return useMemoryPercent;
    }

    public void setUseMemoryPercent(String useMemoryPercent) {
        this.useMemoryPercent = useMemoryPercent;
    }

    public String getUseNetworkIn() {
        return useNetworkIn;
    }

    public void setUseNetworkIn(String useNetworkIn) {
        this.useNetworkIn = useNetworkIn;
    }

    public String getUseNetworkOut() {
        return useNetworkOut;
    }

    public void setUseNetworkOut(String useNetworkOut) {
        this.useNetworkOut = useNetworkOut;
    }

    public String getBlockIn() {
        return blockIn;
    }

    public void setBlockIn(String blockIn) {
        this.blockIn = blockIn;
    }

    public String getBlockOut() {
        return blockOut;
    }

    public void setBlockOut(String blockOut) {
        this.blockOut = blockOut;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getContainerName() {
        return containerName;
    }

    public void setContainerName(String containerName) {
        this.containerName = containerName;
    }

    public String getShowTime() {
        return showTime;
    }

    public void setShowTime(String showTime) {
        this.showTime = showTime;
    }
}
